﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace D6_Value_Assistance_Manager
{
    /// <summary>
    /// Interaction logic for ErrorWnd.xaml
    /// </summary>
    public partial class ErrorWnd : Window
    {
        public ErrorWnd(Exception ex)
        {
            InitializeComponent();
            m_messageTextBox.Text = ex.Message;
            m_stacktraceTextBox.Text = ex.StackTrace;
        }

        private void m_closeButton_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
        }
    }
}
